import pygame
import socket

from .clinet import Clinet
from . import game
from . import constants as C

pygame.init()
SCREEN = pygame.display.set_mode(C.SCREEN_SIZE)
pygame.display.set_caption("贪吃蛇在线")
GRAPHICS = game.load_graphics("asset")

connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
clinet = Clinet()